﻿using System;
using System.IO;
using System.Reflection;

namespace ChurchData.Business
{
    public class UserInformation
    {
        public UserInformation()
		{
		}

        public static string UserName { get; set; }

        public static int EmployeePK { get; set; }

        public static bool ViewOnlyInd { get; set; }

        public static int ClearanceLevel { get; set; }

        public static string GetApplicationRunDirectory()
        {
            String strAppDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
            return strAppDir.Substring(strAppDir.IndexOf(@"\")+1);
        }
    }
}